package lab2;

public class ModifiedTwoIntegers {
    public int sum(int n, int m) {
        // 前置断言
        //断言失败，则会抛出一个AssertionError对象
        assert n >= 1 && n <= 99;
        assert m >= 1 && m <= 99;
        assert n + m <= 99;
        return n + m;
    }
}
